package common_data_type

type Page struct {
	Page  uint `form:"page" json:"page" binding:"min=1"`   // 必填，页面值>=1
	Limit uint `form:"limit" json:"limit" binding:"min=1"` // 必填，每页条数值>=1
}
type Id struct {
	Id uint `uri:"id" binding:"min=1"` // 必填，Id>=1
}
type Status struct {
	Status *uint8 `form:"status" json:"status" binding:"required,oneof=0 1"` // 必填，状态等于0或1
}

type Sorts struct {
	Sort *uint `form:"sort" json:"sort" binding:"min=1"` // 必填，状态等于0或1
}
